using System.Collections.Generic;
using Book_Shop.DAL.DAO;
using Book_Shop.DAL.Gateway;

namespace Book_Shop.BLL
{
    public class BookOperationManager
    {
        private BookGateway bookGateway = new BookGateway();

        public List<Book> GetAll()
        {
            return bookGateway.GetAll();
        }

        public Book GetById(int id)
        {
            return bookGateway.GetById(id);
        }
    }
}